package cn.xbtop.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import cn.xbtop.mapper.TMemberCertMapper;
import cn.xbtop.bean.TMemberCert;
import cn.xbtop.service.TMemberCertService;
/**
 * @author  Mxb
 * @date  2020/6/6 18:34
 * @version 1.0
 */
@Service
public class TMemberCertServiceImpl implements TMemberCertService{

    @Resource
    private TMemberCertMapper tMemberCertMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return tMemberCertMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(TMemberCert record) {
        return tMemberCertMapper.insert(record);
    }

    @Override
    public TMemberCert selectByPrimaryKey(Integer id) {
        return tMemberCertMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKey(TMemberCert record) {
        return tMemberCertMapper.updateByPrimaryKey(record);
    }

}
